#      ******************************************************************
#      *                                                                *
#      * File:          Makefile                                        *
#      * Author:        Gaetan Kenway                                   *
#      * Starting date: 04-05-2013                                      *
#      * Last modified: 04-05-2013                                      *
#      *                                                                *
#      ******************************************************************
HYP_DIR = ../..
HYP_COMMON_FILE = $(HYP_DIR)/Hyp_Common.mk
HYP_RULES_FILE  = $(HYP_DIR)/rulesSources.mk
include ${HYP_COMMON_FILE}
include ${HYP_RULES_FILE}
vpath %.o $(HYP_OBJDIR)

FF90_OBJECTS =	3D_code.o\
		3D_utilities.o\
		3D_elliptic.o\
		boundaryConditions.o\
		reproject.o\
		setup3d.o\
		writePlot3d.o\
		writeCGNS.o\
		writeLayer.o\
		smoothing.o\
		readCGNS.o\
		readPlot3d.o\
		setPatches.o\

all:
	$(PMAKE)  src

clean:
	@echo "        Making clean in 3D... "
	rm -f $(MAKE_CLEAN_ARGUMENTS)

src:	$(FF90_OBJECTS)
